package com.carhailing.system.service.impl;

import com.carhailing.common.domain.coupons.CouponUseRecord;
import com.carhailing.common.domain.response.SysUserDto;
import com.carhailing.common.result.Result;

import com.carhailing.system.mapper.SystemMapper;
import com.carhailing.system.service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：作者姓名
 * @Package：com.mj.system.service.impl
 * @Project：g5_zuoye14
 * @name：SystemServiceImpl
 * @Date：2024/5/9 17:22
 */
@Service
public class SystemServiceImpl implements SystemService {

    @Autowired
    private SystemMapper systemMapper;

    @Override
    public Result<SysUserDto> getcode(String userphone) {
        SysUserDto user = systemMapper.getcode(userphone);
        return Result.success(user);
    }


}
